package edu.nf.llmtest.common.sync;

/**
 * @ Author bin
 * @ Create  2025/10/28 下午8:05
 **/
public interface DataSyncStrategy<T> {
    boolean supports(Class<?> clazz);

    void syncToRedis(T entity);
    void deleteFromRedis(T entity);

    void syncToES(T entity);
    void deleteFromES(T entity);
}
